import request from '@/utils/request_3d'

// 注册方法
export function getPubAtmosGbl(data) {
    return request({
        url: '/pub/AtmosGbl',
        method: 'get',
        params: data
    })
}

export function getPubAtmosGblFor(data) {
    return request({
        url: '/pub/AtmosGblFor',
        method: 'get',
        params: data
    })
}

export function getPubChinaTEC(data) {
    return request({
        url: '/pub/ChinaTEC',
        method: 'get',
        params: data
    })
}

export function getPubChinaTECFor(data) {
    return request({
        url: '/pub/ChinaTECFor',
        method: 'get',
        params: data
    })
}

export function getPubE02Pro(data) {
    return request({
        url: '/pub/E02Pro',
        method: 'get',
        params: data
    })
}

export function getPubPXXPro(data) {
    return request({
        url: '/pub/PXXPro',
        method: 'get',
        params: data
    })
}

export function getPubMagLine(data) {
    return request({
        url: '/pub/Magline',
        method: 'get',
        params: data
    })
}

export function getConstellation() {
    return request({
        url: '/pub/constellation',
        method: 'get'
    })
}

export function getProtonFluxObserve(data) {
    return request({
        url: '/radiation/protonFluxObser',
        method: 'get',
        params: data
    })
}

export function getProtonFluxObserveGov(data) {
    return request({
        url: '/radiation/protonFluxObserGov',
        method: 'get',
        params: data
    })
}

export function getProtonFluxObserveInter(data) {
    return request({
        url: '/radiation/protonFluxObserInter',
        method: 'get',
        timeout: 20000,
        params: data
    })
}

export function getElectronFluxObserve(data) {
    return request({
        url: '/radiation/electronFluxObser',
        method: 'get',
        params: data
    })
}

export function getElectronFluxObserveGov(data) {
    return request({
        url: '/radiation/electronFluxObserGov',
        method: 'get',
        params: data
    })
}

export function getElectronFluxObserveInter(data) {
    return request({
        url: '/radiation/electronFluxObserInter',
        method: 'get',
        timeout: 20000,
        params: data
    })
}
export function getMagnetoLine(data) {
    return request({
        url: '/pub/magneto',
        method: 'get',
        params: data
    })
}
